package com.goods.business.service;

import com.github.pagehelper.PageInfo;
import com.goods.common.model.business.Supplier;
import com.goods.common.vo.business.SupplierVO;

import java.util.List;
import java.util.Map;

/**
 * @description：
 * @version:
 * @author：ruixinag
 * @create：Created in 2021/11/8 20:08
 */
public interface SupplierService {
    PageInfo<SupplierVO> findSupplierList(Map map);

    void add(Supplier supplier);

    SupplierVO edit(Long id);

    void update(Supplier supplier);

    void delete(Long id);

    List<SupplierVO> findAll();
}
